<!--
 * @Author: moeWang
 * @Date: 2021-06-01 17:50:07
 * @LastEditTime: 2021-07-01 13:20:38
 * @LastEditors: moeWang
 * @Description: 
 * @FilePath: \electron-demo\loading.html
-->
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        html {
            width: 100%;
            height: 100%;
        }

        body {
            overflow: hidden;
            pointer-events: none;
            width: 100%;
            height: 100%;
            margin: 0;
        }

        .container {
            width: 100%;
            height: 100%;
            background-color: #fff;
            /* border-radius: 20px; */
            overflow: hidden;
            animation: loading 0.5s;
        }

        .container img {
            width: 40%;
            margin: 20% 30%;
            /* width: 20%;
            margin: 10% 40%; */
        }

        .container p {
            position: absolute;
            width: 100%;
            bottom: 20px;
            text-align: center;
            /* font-size: 30px; */
            font-size: 20px;
            font-weight: bolder;
        }

        @keyframes loading {
            0% {
                transform: scale(0.8);
                opacity: 0;
            }

            /* 50% {
                transform: scale(0.9);
            } */

            100% {
                transform: scale(1);
                opacity: 1;
            }
        }
    </style>
</head>

<body>
    <div class="container">
        <img src="./go.png" alt="">
        <p>启动中……</p>
    </div>
</body>

</html>